package com.third;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.third.base.BaseActivity;

public class MainActivity extends BaseActivity implements View.OnClickListener {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main1);
        findViewById(R.id.btn_click).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
//        Toast.makeText(this, "点击事件", Toast.LENGTH_LONG).show();
        Intent intent = new Intent(this, SecondeActivity.class);
        startActivity(intent);
    }
}
